#define _CRT_SECURE_NO_WARNINGS 1
class Solution {
private:
    static int ret;
    static int i;
    class Sum {
    public:
        Sum() {
            ret += i;
            ++i;
        }

    };
public:
    int Sum_Solution(int n) {
       // Sum a[n];
        Sum* p =new  Sum[n];
        return ret;
    }
};
int Solution::ret = 0;
int Solution::i = 1;